package com.sta.oldman.service;

import com.sta.oldman.common.ResponseVO;
import com.sta.oldman.model.req.*;

/**
 * @author: LunBoWang
 * @description: 用户service接口
 * @date: 2025/7/14 上午11:01
 * @version: 1.0
 */

public interface UserService {
    ResponseVO register(RegisterReq req);

    ResponseVO loginByPhone(LoginByPhoneReq req);

    ResponseVO loginByEmail(LoginByEmailReq req);

    ResponseVO loginByUsername(LoginByUsernameReq req);

    ResponseVO bindingPhone(BindingPhoneReq req);

    ResponseVO bindingEmail(BindingEmailReq req);

    ResponseVO bindingAddress(BindingAddressReq req);

    ResponseVO getUserInfo(Long userId);

    ResponseVO bindingImei(BindingImeiReq req);

    ResponseVO getCode(GetCodeReq req);
}
